package com.example.invoice_contrast.service.impl;

import com.example.invoice_contrast.bean.ElectronicInvoice;
import com.example.invoice_contrast.mapper.ElectronicInvoiceMapper;
import com.example.invoice_contrast.service.ElectronicInvoiceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Set;

@Service
public class EelectronicInvoiceServiceServiceImpl implements ElectronicInvoiceService {
    @Autowired
    private ElectronicInvoiceMapper electronicInvoiceMapper;

    @Override
    public Set<ElectronicInvoice> findByEI(String date) {

        Set<ElectronicInvoice> byEI = electronicInvoiceMapper.findByEI(date);
        return byEI;
    }
}
